package com.ptswitch.material.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import com.ptswitch.material.model.common.HLog;

public interface HLogMapper {
    @Delete("")
    void delete(String id);

    @Delete("")
    void deleteAll();

    @Select("")
    List<HLog> findAll(long first, long size);

    @Select("")
    List<HLog> findLike(String like, long first, long size);

    @Select("")
    long countAll();

    @Insert("")
    void add(HLog log);
}
